package com.example.aigc_education.service.converter;

import com.example.aigc_education.domain.KgChatConversation;
import com.example.aigc_education.domain.vo.ChatConversationVO;
import org.mapstruct.Mapper;

import java.util.List;
@Mapper(componentModel = "spring")
public interface KgChatConConverter {
    /**
     * 将KgChatConversation对象转换为ChatConversationVO对象
     * @param kgChatConversation
     * @return
     */
    ChatConversationVO kgChatConToChatConVO (KgChatConversation kgChatConversation);

    List<ChatConversationVO> kgChatConSToChatConVOS (List<KgChatConversation> kgChatConversations);
}
